package strecke;

import com.jme3.math.Vector3f;

public class StartElement implements GleisElement{

	Vector3f pos;
	float winkel;
	
	public StartElement(Vector3f position, float winkel)
	{
		this.pos = position;
		this.winkel = winkel;
	}
	
	@Override
	public long getID() {
		return 0;
	}

	@Override
	public GleisElement getNext() {
		return null;
	}

	@Override
	public GleisElement getPrev() {
		return null;
	}

	@Override
	public float getLaenge() {
		return 0.0f;
	}

	@Override
	public int getHoechstgeschwindigkeit() {
		return 10;
	}

	@Override
	public float getWinkel(float pos) {
		return winkel;
	}

	@Override
	public Vector3f getPosition(float pos) {
		return this.pos;
	}

	@Override
	public Gleistyp getTyp() {
		// TODO Auto-generated method stub
		return Gleistyp.SONSTIGES;
	}

}
